P+ - Giga Bowser - Action - 0x112 SpecialN

Entry Script

  1. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
  2. BoolVariableSetFalse { variable: RandomAccessBool (0x11) }
  3. BoolVariableSetFalse { variable: RandomAccessBool(SpecialsMovement) }
  4. IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 0 }
  5. CreateInterrupt { interrupt_id: Some(10146), action: Wait, requirement: (AnimationEnd) }
  6. DisableInterrupt(10146)
  7. CreateInterrupt { interrupt_id: Some(10147), action: Fall, requirement: (AnimationEnd) }
  8. DisableInterrupt(10147)
  9. CallEveryFrame { thread_id: 9, script: 0x25d8 }
  10. loop Infinite times:
    1. if (OnGround)
      1. SetAirGround(6)
      2. SetEdgeSlide(Unknown(2))
      3. UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
      4. Case(0)
      5. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialNStart)
      6. else
        1. ChangeSubactionRestartFrame(SpecialNStart)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      7. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
      8. Case(1)
      9. if (BoolIsTrue RandomAccessBool (0x11))
        1. ChangeSubaction(SpecialN)
      10. else
        1. ChangeSubactionRestartFrame(SpecialN)
        2. BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
      11. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ButtonNotPressed }, Value(1)] }
      12. UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 }), Value(4), Scalar(1.0)] }
      13. UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 }), Value(4), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24003 })] }
      14. Case(2)
      15. if (BoolIsTrue RandomAccessBool(SpecialsMovement))
        1. ChangeSubaction(SpecialNEnd)
      16. else
        1. ChangeSubactionRestartFrame(SpecialNEnd)
        2. BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
      17. EnableInterrupt(10146)
      18. DisableInterrupt(10147)
      19. EndSwitch
      20. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetAirGround(10)
      2. SetEdgeSlide(Airbourne)
      3. UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
      4. Case(0)
      5. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialAirNStart)
      6. else
        1. ChangeSubactionRestartFrame(SpecialAirNStart)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      7. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
      8. Case(1)
      9. if (BoolIsTrue RandomAccessBool (0x11))
        1. ChangeSubaction(SpecialAirN)
      10. else
        1. ChangeSubactionRestartFrame(SpecialAirN)
        2. BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
      11. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ButtonNotPressed }, Value(1)] }
      12. UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 }), Value(4), Scalar(1.0)] }
      13. UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 }), Value(4), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24003 })] }
      14. Case(2)
      15. if (BoolIsTrue RandomAccessBool(SpecialsMovement))
        1. ChangeSubaction(SpecialAirNEnd)
      16. else
        1. ChangeSubactionRestartFrame(SpecialAirNEnd)
        2. BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
      17. DisableInterrupt(10146)
      18. EnableInterrupt(10147)
      19. EndSwitch
      20. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest
    4. UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
    5. Case(0)
    6. IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 1 }
    7. Case(1)
    8. if (ButtonNotPressed value(1))
      1. IfStatementAnd ((RandomAccessInt (0x1) GreaterThanOrEqual scalar(1)))
      2. IfStatementAnd ((RandomAccessInt (0x0) GreaterThanOrEqual InternalConstantInt (0x5dc3)))
      3. IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 2 }
    9. Case(2)
    10. EndSwitch

Exit Script